<template>
<div>
  <el-upload
      class="upload-demo"
      action="/api/file/upload2/"
      :headers="header"
>
    <el-button size="small" type="primary">点击上传</el-button>
    <div slot="tip" class="el-upload__tip">文件不能超过100GB</div>
  </el-upload>
  <el-form>
    <el-form-item label="文件">
    </el-form-item>
  </el-form>
</div>
</template>

<script>

export default {
  name: "UpFile",
}
</script>

<style scoped>

</style>